Relative URLs in XPage application are handled in a different manner versus in a normal web application.